package com.newcoin.xgb.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CancelOrSubmitDto {
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @NotBlank(message = "令牌不能为空")
    private String token;

    @NotBlank(message = "订单id")
    private String orderId;

    @NotNull(message = "类型不能为空")
    private Integer type;
}
